#include "ps_support.h"



u8 SetArgFlags(str arguments){
	u8 value=0;//fuck jou, anders verander je retval toch naar value -.-
	if(ps_strstr(arguments,"-dbg"))
		value += debug;
	if(ps_strstr(arguments,"-god"))
		value += godmode;
	//More of this stuff here for more args, like:
	//if(ps_strstr(arguments,"-cmd"))
	//	value += constantfromglobls.h;

	return value;
}

bool Flag(u8 totalFlag, u8 queryFlag){
	if(totalFlag & queryFlag) return true;
	else return false;
}